package asia.yuanding.wechat.web.service;

import asia.yuanding.wechat.system.exception.BusinessException;
import asia.yuanding.wechat.web.entity.User;
import asia.yuanding.wechat.web.entity.UserContact;
import asia.yuanding.wechat.web.entity.UserContactApply;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
* @author YuanDing
* @description 针对表【user_contact】的数据库操作Service
* @createDate 2025-07-26 19:38:19
*/
public interface UserContactService extends IService<UserContact> {

    void apply(UserContactApply apply) throws BusinessException;

    List<UserContactApply> getApplyList(String uid);

    void handleApply(UserContactApply apply) throws BusinessException;

    List<UserContact> getUserFriendList(String uid);

    void deleteFriend(String contactId) throws BusinessException;
}
